package a.f.l.a;

import a.c.d;

import java.text.NumberFormat;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

public class ob
{
  private final List a;
  private final double b;
  private final d d;
  public static int e;
  
  public ob(d paramd, List paramList, double paramDouble)
  {
    this.d = paramd;
    this.a = new ArrayList(paramList);
    this.b = paramDouble;
  }
  
  public d a()
  {
    return this.d;
  }
  
  List c()
  {
    return this.a;
  }
  
  public double d()
  {
    return this.b;
  }
  
  public h a(int paramInt)
  {
    return (h)this.a.get(paramInt);
  }
  
  public void a(int paramInt, h paramh)
  {
    this.a.set(paramInt, paramh);
  }
  
  public int a(h paramh)
  {
    return this.a.indexOf(paramh);
  }
  
  public int e()
  {
    return this.a.size();
  }
  
  public String toString()
  {
    boolean bool = sb.e;
    int i = sb.d;
    NumberFormat localNumberFormat = NumberFormat.getNumberInstance();
    localNumberFormat.setMaximumFractionDigits(2);
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append(this.d);
    localStringBuffer.append(": ");
    Iterator localIterator = this.a.iterator();
    do
    {
      if (!localIterator.hasNext()) {
        break;
      }
      h localh = (h)localIterator.next();
      if (!bool)
      {
        if (i != 0) {
          break label181;
        }
        localStringBuffer.append(" << ").append(localh.a().f());
      }
      jb localjb = localh.c();
      if (!bool)
      {
        if (localjb != null) {
          localStringBuffer.append(" [").append(localjb.b()).append(" ").append(localjb.c()).append("]");
        }
        localStringBuffer.append(" (cost ").append(localNumberFormat.format(localh.f())).append(")");
      }
    } while (i == 0);
    label181:
    return localStringBuffer.toString();
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.l.a.ob

 * JD-Core Version:    0.7.0.1

 */